home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 4
/
United Public Domain Gold 4.iso
/
fredfish
/
ff.0316.dms
/
ff.0316.adf
/
Iff2C
/
Iff2C.doc
< prev
next >
Wrap
Text File
|
1990-02-06
|
2KB
|
67 lines
Iff2C Iff2C
SSYYNNOOPPSSYYSS:
Iff2C [?] [-cidpslh] <file> [ <file> ... ]
DDEESSCCRRIIPPTTIIOONN:
Yet another IFF ILBM to C converter. I wrote this one at a
time when I couldn't find another that worked with DPaintII
brushes, and although I havent looked at the others, am I
sure this one is the best :-).
Iff2C outputs to the standard output and can process several
files in a row. The ouput is computed planed by plane and is
fast. Two unique features are the ability to generate com-
ments representing the actual image and the planepick com-
putation.
Options are:
-c: disables comments ouput, default is on
-i: switches image structure output, default is on
-d: switches image data output, default is on
-p: switches plane pick computation, default is on.
When this is on the blank planes do not appear in the
image data and the PlanePick field of the image is ac-
cordingly modified.
-s: switches "static" before the declarations, default
on
-l: switches the Lattice "chip" keyword before the im-
age data output, default is on
-h: switches sprite format output, default is off. Jmf
added this and then reported that the output format was
not correct, so this migth not work.
This program is linked with a file called iffsup.lib
(provided) which is actually a simple Join on the standard
IFF ILBM read object modules. The program first loads the
IFF file, than works on the bitmap. I believe the bitmap to
C conversion routines is very portable.
Thanks to Jean Michel Forgeas for is help.
Program and sources are freely distributable.
Utilities Page 1 Amiga